package com.feihong.txgw.model.bean.nearby;

import java.util.List;

/**
 * Created by PVer on 2017/8/2.
 */

public class NearbyModel {


    /**
     * code : 200
     * msg : 获取数据成功
     * data : {"list":[{"store_id":"1","store_name":"兰云霄a","store_tel":"13289911500","store_service":["回收","发生地方官史蒂夫xcvxcv"],"region_id":"457","store_addr":"南门","opening_time":"周一至周日 9:30-21:30","store_image":"[\"aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNS8yNy8xNDk1ODU2NzE3SDUyNzU2NzE3NTcxNjFkLmpwZw==\",\"aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNC8yNi8xNDkzMjA1MTY5SDQyNjA1MTY5NjQzNjJkLmpwZw==\"]","longitude":"87.621971","latitude":"43.791451","erp_account":"asdfasdf","erp_password":"asdfasdf","is_show":"1","add_time":null,"update_time":"1495857085","last_time":"1495857085","shi":"乌鲁木齐市","sheng":"新疆","distance":"0.79","tc":1,"gj":1,"tel":1,"tczy":1}],"total_page":1}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"store_id":"1","store_name":"兰云霄a","store_tel":"13289911500","store_service":["回收","发生地方官史蒂夫xcvxcv"],"region_id":"457","store_addr":"南门","opening_time":"周一至周日 9:30-21:30","store_image":"[\"aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNS8yNy8xNDk1ODU2NzE3SDUyNzU2NzE3NTcxNjFkLmpwZw==\",\"aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNC8yNi8xNDkzMjA1MTY5SDQyNjA1MTY5NjQzNjJkLmpwZw==\"]","longitude":"87.621971","latitude":"43.791451","erp_account":"asdfasdf","erp_password":"asdfasdf","is_show":"1","add_time":null,"update_time":"1495857085","last_time":"1495857085","shi":"乌鲁木齐市","sheng":"新疆","distance":"0.79","tc":1,"gj":1,"tel":1,"tczy":1}]
         * total_page : 1
         */

        private int total_page;
        private List<ListBean> list;

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * store_id : 1
             * store_name : 兰云霄a
             * store_tel : 13289911500
             * store_service : ["回收","发生地方官史蒂夫xcvxcv"]
             * region_id : 457
             * store_addr : 南门
             * opening_time : 周一至周日 9:30-21:30
             * store_image : ["aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNS8yNy8xNDk1ODU2NzE3SDUyNzU2NzE3NTcxNjFkLmpwZw==","aHR0cDovL3R4Z3dpbWcuZGpsbS53YW5nL3R4Z3cvMjAxNy8wNC8yNi8xNDkzMjA1MTY5SDQyNjA1MTY5NjQzNjJkLmpwZw=="]
             * longitude : 87.621971
             * latitude : 43.791451
             * erp_account : asdfasdf
             * erp_password : asdfasdf
             * is_show : 1
             * add_time : null
             * update_time : 1495857085
             * last_time : 1495857085
             * shi : 乌鲁木齐市
             * sheng : 新疆
             * distance : 0.79
             * tc : 1
             * gj : 1
             * tel : 1
             * tczy : 1
             */

            private String store_id;
            private String store_name;
            private String store_tel;
            private String region_id;
            private String store_addr;
            private String opening_time;
            private String store_image;
            private String longitude;
            private String latitude;
            private String erp_account;
            private String erp_password;
            private String is_show;
            private Object add_time;
            private String update_time;
            private String last_time;
            private String shi;
            private String sheng;
            private String distance;
            private int tc;
            private int gj;
            private int tel;
            private int tczy;
            private List<String> store_service;

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getStore_name() {
                return store_name;
            }

            public void setStore_name(String store_name) {
                this.store_name = store_name;
            }

            public String getStore_tel() {
                return store_tel;
            }

            public void setStore_tel(String store_tel) {
                this.store_tel = store_tel;
            }

            public String getRegion_id() {
                return region_id;
            }

            public void setRegion_id(String region_id) {
                this.region_id = region_id;
            }

            public String getStore_addr() {
                return store_addr;
            }

            public void setStore_addr(String store_addr) {
                this.store_addr = store_addr;
            }

            public String getOpening_time() {
                return opening_time;
            }

            public void setOpening_time(String opening_time) {
                this.opening_time = opening_time;
            }

            public String getStore_image() {
                return store_image;
            }

            public void setStore_image(String store_image) {
                this.store_image = store_image;
            }

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public String getErp_account() {
                return erp_account;
            }

            public void setErp_account(String erp_account) {
                this.erp_account = erp_account;
            }

            public String getErp_password() {
                return erp_password;
            }

            public void setErp_password(String erp_password) {
                this.erp_password = erp_password;
            }

            public String getIs_show() {
                return is_show;
            }

            public void setIs_show(String is_show) {
                this.is_show = is_show;
            }

            public Object getAdd_time() {
                return add_time;
            }

            public void setAdd_time(Object add_time) {
                this.add_time = add_time;
            }

            public String getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(String update_time) {
                this.update_time = update_time;
            }

            public String getLast_time() {
                return last_time;
            }

            public void setLast_time(String last_time) {
                this.last_time = last_time;
            }

            public String getShi() {
                return shi;
            }

            public void setShi(String shi) {
                this.shi = shi;
            }

            public String getSheng() {
                return sheng;
            }

            public void setSheng(String sheng) {
                this.sheng = sheng;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public int getTc() {
                return tc;
            }

            public void setTc(int tc) {
                this.tc = tc;
            }

            public int getGj() {
                return gj;
            }

            public void setGj(int gj) {
                this.gj = gj;
            }

            public int getTel() {
                return tel;
            }

            public void setTel(int tel) {
                this.tel = tel;
            }

            public int getTczy() {
                return tczy;
            }

            public void setTczy(int tczy) {
                this.tczy = tczy;
            }

            public List<String> getStore_service() {
                return store_service;
            }

            public void setStore_service(List<String> store_service) {
                this.store_service = store_service;
            }
        }
    }

    @Override
    public String toString() {
        return "NearbyModel{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
